		
			<div class="colCenter">
				<script type="text/javascript" src="<?php echo path_theme(); ?>js/jquery.highlight-3.js"></script> 
				<script type="text/javascript">
					 $(document).ready(function(){
						<?php if ( trim( $this->keyw ) != '' ) { ?>
						$('#highlight').highlight( '<?php echo str_replace( "'", '', $this->keyw ); ?>' );
						<?php } ?>
					});
					
					function search_n() {
						var tx = $('#kw').val();
						var ct = $('#cat').val();
						var url_root = '<?php echo base_url() ?>';
						window.location.href = url_root + 'search/' + encodeURIComponent( tx ) + '/' + ct ;
					}
				</script>           	
           	<?php 
           		echo '<h3 class="title">'.$title.'</h3>';
           		echo '<div class="form-search">';
           			echo '<label>Từ khóa</label>';
           			echo '<input name="kw" id="kw" value="'.$this->keyw.'" />';
           			cat_combo( $this->catpro, $catid );
           			echo '<input class="input" type="submit" value=" Tìm kiếm " name="submit" onclick="search_n()" />';
           		echo '</div>';
           		
        		echo '<div class="listProduct" id="highlight">';
        		
           		if ( $items ) {
    				echo '<ul class="list">';
    				foreach ( $items as $item ) {
    					echo '<li class="product top">';
    					
    						echo '<strong><a href="'.link_detail( $item['id'], 'product', $item['name']).'">'.$item['name'].'</a></strong>';
    						
    						echo '<a class="imgProduct" href="'.link_detail( $item['id'], 'product', $item['name']).'">'.image_thumb( $item['image'], 'product', 85, 50, $item['image_text']).'</a>';
    						echo '<ul>';
    							echo '<li> Bảo hành '.$item['field_1'].'</li>';
    							if ( $item['field_2'] ) echo '<li>'.$item['field_2'].'</li>';
    							if ( $item['field_3'] ) echo '<li>'.$item['field_3'].'</li>';
    							if ( $item['field_4'] ) echo '<li>'.$item['field_4'].'</li>';     							
    						echo '</ul>';
    						
    						if ( $item['field_5'] ) echo '<p>Tình trạng: '.$item['field_5'].'</p>';
    						echo '<p>'.number_format( $item['vnd'], '', '', '.' ).' vnd</p>';
    					echo '</li>';
    				}
    				echo '</ul>';
    			}else
    				echo 'Không tìm thấy kết quả';
    			echo '</div>';
    			
        		echo '<div class="clearLeft"></div>';
        			
				if ( $paging ) {
					echo '<div class="phantrang">';
						echo $paging ;
					echo '</div>';
				}
			?> 